package org.csu.petstore.ssm.persistence;

import org.csu.petstore.ssm.entity.Account;
import org.springframework.stereotype.Repository;

@Repository
public interface AccountMapper {

    Account getAccountByUsername(String username);
    Account getAccountByUsernameAndPassword(String param1,String param2);
    int updateAccount(Account acount);

    int insertAccount(Account acount);
    Account updateProfile(Account acount);
    int insertProfile(Account acount);
    int updateSignon(Account acount);
    int insertSignon(Account acount);
    boolean selectAccountByUsername(String username);
    boolean selectAccountByPassword(String password);



}
